package com.ww.learn.nullsafe

fun main() {
    val a: Any = "Hello, Kotlin"

    val aInt: Int? = a as? Int
    val aString: String? = a as? String

//    null
//    Hello, Kotlin
    println(aInt)
    println(aString)
}